Module krryn_glext_gen

    ' Simple VB.net application to generate a glext.h file.
    ' This app can easily be ported to Xpath 1.0 supporting platforms if needed
    ' however, a windows only version currently suffers because the glext.h
    ' file doesn't need to be regenerated every time.

    ' Also, this project depends on the Glee extensions.xml file (renamed to vendor/glext.xml
    ' for clarity) as the file to parse.
    ' Glee can be found on http://elf-stone.com/glee.php
    ' The xml file can (could) be found on http://elf-stone.com/getfile.php?title=GLeeExtensionsXML
    ' and currently supports upto and including opengl 2.1

    Sub Main()
        Dim Xslt As System.Xml.Xsl.XslTransform = New System.Xml.Xsl.XslTransform

        Xslt.Load("../../../glext.xslt")
        Xslt.Transform("../../../vendor/glee/glext.xml", "../../../glext.h")
    End Sub

End Module
